﻿<?xml version="1.0"?>
<configuration>

  <messageStoreConfig>
    <store name="default" type="PServiceBus.MessageStores.DefaultMessageStore" address=""/>
  </messageStoreConfig>

  <messageInspectorConfig>
    <inspector name="default" type="PServiceBus.Core.Runtime.Messages.DefaultTopicMessageInspector" />
  </messageInspectorConfig>

  <messageEnricherConfig>
    <enricher name="default" type="PServiceBus.Core.Runtime.Messages.DefaultTopicMessageEnricher" />
  </messageEnricherConfig>

  <subscriptionManagerConfig>
    <manager name="redis" type="PServiceBus.SubscriptionManagers.RedisSubscriptionManager" address="endpoint://guest:guest@localhost:6380/"/>
  </subscriptionManagerConfig>
  
  <loggerConfig type="PServiceBus.Core.Logger.TextLogger" errorLogPath="C:/servicebus.gateway.error.log" logPath="C:/servicebus.gateway.log.log" tracePath="C:/servicebus.wcf.trace.log" enabled="true"/>

  <serviceBusConfig objectManagerType="PServiceBus.Redis" address="endpoint://guest:guest@localhost:6379/" 
                    messageRetryCount="5"
                    keyValueStoreAddress="endpoint://guest:guest@localhost:6386/"/>

  <distributorConfig address="endpoint://guest:guest@localhost:6384/" addressID="d1" enabled="true" 
                     componentServiceInfoAddress="endpoint://guest:guest@localhost:6384/"/>

  <securityConfig authorizationType="PServiceBus.Core.Security.DefaultAuthorizationProvider" 
                  authenticationType="PServiceBus.Core.Security.DefaultAuthenticationProvider" />
  
</configuration>
